package com.template.project;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author xs
 */
@EnableCaching
@EnableScheduling
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
@MapperScan(value = "com.template.project", annotationClass = Mapper.class)
@SpringBootApplication(scanBasePackages = "com.template.project")
public class AdminTemplateApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminTemplateApplication.class, args);
    }
}
